package cn.two.model;

/**
 * OaBuy entity. @author MyEclipse Persistence Tools
 */

public class OaBuy implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer buyId; //采购ID
	private OaDept oaDept;
	private OaUser oaUser;
	private OaSubmit oaSubmit;
	private String buyName;		//物品名称
	private Integer buyNumber;
	private Double buyPrice;
	private String buyDate;

	// Constructors

	/** default constructor */
	public OaBuy() {
	}

	/** full constructor */
	public OaBuy(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			String buyName, Integer buyNumber, Double buyPrice, String buyDate) {
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.buyName = buyName;
		this.buyNumber = buyNumber;
		this.buyPrice = buyPrice;
		this.buyDate = buyDate;
	}

	// Property accessors

	public Integer getBuyId() {
		return this.buyId;
	}

	public void setBuyId(Integer buyId) {
		this.buyId = buyId;
	}

	public OaDept getOaDept() {
		return this.oaDept;
	}

	public void setOaDept(OaDept oaDept) {
		this.oaDept = oaDept;
	}

	public OaUser getOaUser() {
		return this.oaUser;
	}

	public void setOaUser(OaUser oaUser) {
		this.oaUser = oaUser;
	}

	public OaSubmit getOaSubmit() {
		return this.oaSubmit;
	}

	public void setOaSubmit(OaSubmit oaSubmit) {
		this.oaSubmit = oaSubmit;
	}

	public String getBuyName() {
		return this.buyName;
	}

	public void setBuyName(String buyName) {
		this.buyName = buyName;
	}

	public Integer getBuyNumber() {
		return this.buyNumber;
	}

	public void setBuyNumber(Integer buyNumber) {
		this.buyNumber = buyNumber;
	}

	public Double getBuyPrice() {
		return this.buyPrice;
	}

	public void setBuyPrice(Double buyPrice) {
		this.buyPrice = buyPrice;
	}

	public String getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(String buyDate) {
		this.buyDate = buyDate;
	}

}